package com.hyzx.qbasic.admin.domain.service;

import com.github.pagehelper.PageInfo;
import com.hyzx.qbasic.admin.model.po.ProcessConfigPO;
import com.hyzx.qbasic.admin.model.po.ProcessConfigPagedInfoPO;
import com.hyzx.qbasic.admin.model.vo.req.admin.AddProcessConfigReq;
import com.hyzx.qbasic.admin.model.vo.req.admin.DeleteProcessConfigReq;
import com.hyzx.qbasic.admin.model.vo.req.admin.EditProcessConfigReq;
import com.hyzx.qbasic.admin.model.vo.req.admin.GetProcessConfigListReq;
import com.hyzx.qbasic.admin.model.vo.res.BaseOperationRes;

/**
 * Created by 黄江华 on 2018/11/28
 */

public interface IProcessConfigService {

    PageInfo<ProcessConfigPagedInfoPO> getPagedProcessConfigList(GetProcessConfigListReq req);

    BaseOperationRes addProcessConfig(AddProcessConfigReq req);

    BaseOperationRes deleteProcessConfig(DeleteProcessConfigReq req);

    ProcessConfigPO getProcessConfigById(int processConfigId);

    ProcessConfigPO getProcessConfigByKey(String processConfigKey);

    BaseOperationRes editProcessConfig(EditProcessConfigReq req);
}
